* {
    font-size: 10px;
    margin: 0;
    padding: 0;
    --task-margin: 1.2rem;
    --task-border: rgb(71, 97, 243) .2rem solid;
    --done-background: rgb(115, 214, 115);
    --task-background: rgb(245, 226, 213);
    --task-size: 8rem;
}

body {
    background: white;
    min-width: 32rem;
    min-height: 100vh;
}

.hidden {
    display: none;
}

.container {
    width: 76vw;
    margin: auto;
    position: relative;
}

.tasks {
    position: absolute;
    /* width: calc(var(--task-size)*8); */
    /* height: 80vh;
    top: 20%;
    left: 5%; */
    display: grid;
    /* border: red 2px dashed; */
    grid-template-columns: var(--task-size) var(--task-size) var(--task-size) var(--task-size) var(--task-size)var(--task-size) var(--task-size) var(--task-size);
    grid-template-rows:  var(--task-size) var(--task-size) var(--task-size) var(--task-size) var(--task-size);
    gap: 2rem;

}

.task {
    width: var(--task-size);
    height: var(--task-size);
    border: var(--task-border);
    border-radius: .5rem;
    margin: var(--task-margin);
    margin-top: var(--task-margin);
} 

.empty {
    position: relative;
    width: 4rem;
    height: 4rem;
    margin: 2rem;
    text-align: center;
}

.empty:hover {
    transform: scale(1.2);
    transition: ease-in-out .5s;
}
/* .task {
    width: calc(var(--task-size) + var(--task-margin)*1.8);
    height: calc(var(--task-size) + var(--task-margin)*1.8);
    border: var(--task-border);
} */

/* .line {
    justify-content: center;
} */

/* .taskes > .line {
    display: flex;
} */

.done {
    background: var(--done-background);
    border: var(--done-background) 2px solid;
}

.progress {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 3rem;
}

.progress-item {

    width: calc((var(--task-size)*8 + var(--task-margin)*7)/40);
    height: calc((var(--task-size)*8 + var(--task-margin)*7)/40);
    border-right: var(--task-border);
    border-top: var(--task-border);
    border-bottom: var(--task-border);
}
.progress-item:first-child {
    border-left: var(--task-border);
}

.progress-item::not(:last-child) {
    border-right: none;
}

.annotate {
    position: relative;
    margin: auto;
    width: calc((var(--task-size)*8 + var(--task-margin)*16));
    height: 10rem;
    /* background: rgb(245, 226, 213); */
    border: red 2px dashed;
}

/* .circul {
    width: calc(var(--task-size)*3);
    height: calc(var(--task-size)*3);
    background: var(--done-background);
    border-radius: 50%;
} */

.task-detail {
    z-index: 2;
    position: absolute;
    top: 6vh;
    left: 20%;
    width: 60%;
    height: 65vh;
    background: var(--task-background);
    border: red 2px dashed;
}
.task-title {
    font-size: 3rem;
    text-align: center;
    padding-top: 1rem;
}

.task-description {
    font-size: 2rem;
    padding: 3rem;
}
.ended-date {
    position: absolute;
    top: 60%;
    width: 100%;
    text-align: center;
    font-size: 3rem;
    color: #000000;
    text-shadow: #74beff .5rem .5rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.ready-button {
    background-color: #4CAF50;
    border: none;

    color: white;
    width: 16rem;
    height: 10rem;
    position: absolute;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2rem;
    left: calc(50% - 8rem);
    top: 40%;
    margin: .4rem .2rem;
    margin: auto;
    border-radius: 12%;
    box-shadow: #4f565c .5rem .5rem;
    outline: none;
}
.ready-button:hover {
    outline: none;
}

.ready-button:active {
    outline: none;
    transform: scale(.9);
}

.close-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgb(238, 55, 55);
    border-radius: 50%;
}

.close-btn::after {
    content: "X";
    font-family: 'Courier New', Courier, monospace;
    position: absolute;
    top: 0;
    left: 20%;
    color: white;
    font-size: 2.5rem;
}
.close-btn:hover {
    transform: scale(1.2);
    transition: ease-in-out .5s;
}
.task-image-box {
    /* position: relative; */
    position: absolute;
    display: flex;
    width: 80%;
    height: 30%;
    bottom: 2rem;
    left: 12%;
    /* margin: auto; */
}

.task-start-img,
.task-end-img {
    width: 45%;
    height: 85%;
    margin: 1rem;
    border: red 1px dashed;
}

.input-area {
    position: absolute;
    display: flex;
    width: 80%;
    /* height: 1rem; */
    bottom: 1rem;
    left: 20%;
}

.input-area > input {
    font-family: Arial, Helvetica, sans-serif;
    color: red;
}
.task-title {
    top: 5%;
}
.task-description {
    top: 40%;
    z-index: 3;
}

.add {
    position: absolute;
    display: flex;
    width: 30rem;
    height: 4rem;
    /* bottom: 1rem; */
    left: calc(50% - 15rem);
    text-align: center;
    font-size: 2rem;
    color: rgb(218, 216, 216);
    background: var(--task-background);
}


